using System;
using System.ComponentModel;
using System.Web.UI;
using newtelligence.DasBlog.Web.Core;

namespace newtelligence.DasBlog.Web
{
    public partial class EditBlogRollItem : UserControl
    {
        protected OpmlOutlineCollection outlineCollection = null;

        [Bindable(true)]
        [Browsable(true)]
        public string Description
        {
            get { return description.Text; }
            set { description.Text = value; }
        }

        [Bindable(true)]
        [Browsable(true)]
        public string Title
        {
            get { return htmlLink.Text; }
            set { htmlLink.Text = value; }
        }

        [Bindable(true)]
        [Browsable(true)]
        public string HtmlUrl
        {
            get { return htmlLink.NavigateUrl; }
            set { htmlLink.NavigateUrl = value; }
        }

        [Bindable(true)]
        [Browsable(true)]
        public string XmlUrl
        {
            get { return rssLink.NavigateUrl; }
            set { rssLink.NavigateUrl = value; }
        }

        public OpmlOutlineCollection Outline
        {
            get { return outlineCollection; }
            set { outlineCollection = value; }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
        }

        #region Web Form Designer generated code

        protected override void OnInit(EventArgs e)
        {
            InitializeComponent();
            base.OnInit(e);
        }

        private void InitializeComponent()
        {
        }

        #endregion
    }
}